package com.joyoung.sweep.model;

import io.reactivex.Observable;
import retrofit2.http.Body;
import retrofit2.http.Header;
import retrofit2.http.POST;
import retrofit2.http.Url;

public interface RmsJoyoungApi {

    @POST
    Observable<BaseResult<String>> getToken(@Url String url, @Header("signstr") String sign, @Body TokenBean param);

    @POST
    Observable<BaseResult<String>> login(
            @Url String url, @Header("signstr") String sign, @Body LoginBean param);
}
